package com.cloudfun.campusshare.configuration.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by Huqin on 2020/8/11
 */
@Data
@Component
@ConfigurationProperties(prefix = "snowflake")
public class SnowflakeProperties {

    private long workerId = 1L;

    private long dataCenterId = 1L;

}
